package com.alibaba.citrus.cr.mn.order.center.forecastorder.convert;

import com.epoch.app.mnordercenter.model.dto.ForecastOrderLineBizQueryResponse;
import com.epoch.app.mnordercenter.model.dto.ForecastOrderLineSDO;

/**
 * @author zhoubc
 * @date 2023/6/1 14:47
 */
public class ForecastOrderLineSDOToForecastOrderLineBizQueryResponseConvertor {

    public static ForecastOrderLineBizQueryResponse convert(ForecastOrderLineSDO forecastOrderLineSDO) {
        ForecastOrderLineBizQueryResponse forecastOrderLineBizQueryResponse = new ForecastOrderLineBizQueryResponse();
        forecastOrderLineBizQueryResponse.setId(forecastOrderLineSDO.getId());
        forecastOrderLineBizQueryResponse.setOrderId(forecastOrderLineSDO.getOrderId());
        forecastOrderLineBizQueryResponse.setOrderBizId(forecastOrderLineSDO.getOrderBizId());
        forecastOrderLineBizQueryResponse.setOuterOrderId(forecastOrderLineSDO.getOuterOrderId());
        forecastOrderLineBizQueryResponse.setOrderType(forecastOrderLineSDO.getOrderType());
        forecastOrderLineBizQueryResponse.setOrderTypeName(forecastOrderLineSDO.getOrderTypeName());
        forecastOrderLineBizQueryResponse.setOrderLineNo(forecastOrderLineSDO.getOrderLineNo());
        forecastOrderLineBizQueryResponse.setOuterOrderLineId(forecastOrderLineSDO.getOuterOrderLineId());
        forecastOrderLineBizQueryResponse.setOrderLineTag(forecastOrderLineSDO.getOrderLineTag());
        forecastOrderLineBizQueryResponse.setCustomerCode(forecastOrderLineSDO.getCustomerCode());
        forecastOrderLineBizQueryResponse.setCustomerName(forecastOrderLineSDO.getCustomerName());
        forecastOrderLineBizQueryResponse.setReceiveAddressCode(forecastOrderLineSDO.getReceiveAddressCode());
        forecastOrderLineBizQueryResponse.setReceiveDetailAddress(forecastOrderLineSDO.getReceiveDetailAddress());
        forecastOrderLineBizQueryResponse.setProductGroupName(forecastOrderLineSDO.getProductGroupName());
        forecastOrderLineBizQueryResponse.setProductGroupCode(forecastOrderLineSDO.getProductGroupCode());
        forecastOrderLineBizQueryResponse.setScItemId(forecastOrderLineSDO.getScItemId());
        forecastOrderLineBizQueryResponse.setScItemCode(forecastOrderLineSDO.getScItemCode());
        forecastOrderLineBizQueryResponse.setScItemTitle(forecastOrderLineSDO.getScItemTitle());
        forecastOrderLineBizQueryResponse.setSaleUnit(forecastOrderLineSDO.getSaleUnit());
        forecastOrderLineBizQueryResponse.setSaleUnitName(forecastOrderLineSDO.getSaleUnitName());
        forecastOrderLineBizQueryResponse.setInventoryUnit(forecastOrderLineSDO.getInventoryUnit());
        forecastOrderLineBizQueryResponse.setInventoryUnitName(forecastOrderLineSDO.getInventoryUnitName());
        forecastOrderLineBizQueryResponse.setUnitConvert(forecastOrderLineSDO.getUnitConvert());
        forecastOrderLineBizQueryResponse.setBisUnitCode(forecastOrderLineSDO.getBisUnitCode());
        forecastOrderLineBizQueryResponse.setBisUnitName(forecastOrderLineSDO.getBisUnitName());
        forecastOrderLineBizQueryResponse.setSalesOrganizationCode(forecastOrderLineSDO.getSalesOrganizationCode());
        forecastOrderLineBizQueryResponse.setSalesOrganizationName(forecastOrderLineSDO.getSalesOrganizationName());
        forecastOrderLineBizQueryResponse.setSalesChannelName(forecastOrderLineSDO.getSalesChannelName());
        forecastOrderLineBizQueryResponse.setSalesChannelCode(forecastOrderLineSDO.getSalesChannelCode());
        forecastOrderLineBizQueryResponse.setSalesDepartmentCode(forecastOrderLineSDO.getSalesDepartmentCode());
        forecastOrderLineBizQueryResponse.setSalesDepartmentName(forecastOrderLineSDO.getSalesDepartmentName());
        forecastOrderLineBizQueryResponse.setChannelCode(forecastOrderLineSDO.getChannelCode());
        forecastOrderLineBizQueryResponse.setChannelName(forecastOrderLineSDO.getChannelName());
        forecastOrderLineBizQueryResponse.setBusinessType(forecastOrderLineSDO.getBusinessType());
        forecastOrderLineBizQueryResponse.setBusinessTypeName(forecastOrderLineSDO.getBusinessTypeName());
        forecastOrderLineBizQueryResponse.setOrderStatus(forecastOrderLineSDO.getOrderStatus());
        forecastOrderLineBizQueryResponse.setOrderStatusDesc(forecastOrderLineSDO.getOrderStatusDesc());
        forecastOrderLineBizQueryResponse.setSubStatus(forecastOrderLineSDO.getSubStatus());
        forecastOrderLineBizQueryResponse.setSubStatusDesc(forecastOrderLineSDO.getSubStatusDesc());
        forecastOrderLineBizQueryResponse.setQuantity(forecastOrderLineSDO.getQuantity());
        forecastOrderLineBizQueryResponse.setActualTotalReplyAmount(forecastOrderLineSDO.getActualTotalReplyAmount());
        forecastOrderLineBizQueryResponse.setUnitPrice(forecastOrderLineSDO.getUnitPrice());
        forecastOrderLineBizQueryResponse.setTotalFee(forecastOrderLineSDO.getTotalFee());
        forecastOrderLineBizQueryResponse.setActivityPrice(forecastOrderLineSDO.getActivityPrice());
        forecastOrderLineBizQueryResponse.setActivityTotalAmount(forecastOrderLineSDO.getActivityTotalAmount());
        forecastOrderLineBizQueryResponse.setActivityPriceRemark(forecastOrderLineSDO.getActivityPriceRemark());
        forecastOrderLineBizQueryResponse.setCreateReasonCode(forecastOrderLineSDO.getCreateReasonCode());
        forecastOrderLineBizQueryResponse.setCreateReasonName(forecastOrderLineSDO.getCreateReasonName());
        forecastOrderLineBizQueryResponse.setRefuseReasonCode(forecastOrderLineSDO.getRefuseReasonCode());
        forecastOrderLineBizQueryResponse.setRefuseReasonName(forecastOrderLineSDO.getRefuseReasonName());
        forecastOrderLineBizQueryResponse.setOrderRemark(forecastOrderLineSDO.getOrderRemark());
        forecastOrderLineBizQueryResponse.setOrderLineRemark(forecastOrderLineSDO.getOrderLineRemark());
        forecastOrderLineBizQueryResponse.setCustomerReferenceNo(forecastOrderLineSDO.getCustomerReferenceNo());
        forecastOrderLineBizQueryResponse.setCustomerPurchaseDate(forecastOrderLineSDO.getCustomerPurchaseDate());
        forecastOrderLineBizQueryResponse.setCustomerExpectDate(forecastOrderLineSDO.getCustomerExpectDate());
        forecastOrderLineBizQueryResponse.setActivityId(forecastOrderLineSDO.getActivityId());
        forecastOrderLineBizQueryResponse.setActivityLineNo(forecastOrderLineSDO.getActivityLineNo());
        forecastOrderLineBizQueryResponse.setActivityName(forecastOrderLineSDO.getActivityName());
        forecastOrderLineBizQueryResponse.setSAPFactoryCode(forecastOrderLineSDO.getSAPFactoryCode());
        forecastOrderLineBizQueryResponse.setSAPInventoryPoint(forecastOrderLineSDO.getSAPInventoryPoint());
        forecastOrderLineBizQueryResponse.setShippingWarehouseCode(forecastOrderLineSDO.getShippingWarehouseCode());
        forecastOrderLineBizQueryResponse.setShippingWarehouseName(forecastOrderLineSDO.getShippingWarehouseName());
        forecastOrderLineBizQueryResponse.setDeliveryMethod(forecastOrderLineSDO.getDeliveryMethod());
        forecastOrderLineBizQueryResponse.setDeliveryMethodName(forecastOrderLineSDO.getDeliveryMethodName());
        forecastOrderLineBizQueryResponse.setCreatorId(forecastOrderLineSDO.getCreatorId());
        forecastOrderLineBizQueryResponse.setCreatorName(forecastOrderLineSDO.getCreatorName());
        forecastOrderLineBizQueryResponse.setCreatorWorkId(forecastOrderLineSDO.getCreatorWorkId());
        forecastOrderLineBizQueryResponse.setUpdatorId(forecastOrderLineSDO.getUpdatorId());
        forecastOrderLineBizQueryResponse.setUpdatorName(forecastOrderLineSDO.getUpdatorName());
        forecastOrderLineBizQueryResponse.setUpdatorWorkId(forecastOrderLineSDO.getUpdatorWorkId());
        forecastOrderLineBizQueryResponse.setGmtCreateDate(forecastOrderLineSDO.getGmtCreateDate());
        forecastOrderLineBizQueryResponse.setGmtModifiedDate(forecastOrderLineSDO.getGmtModifiedDate());
        forecastOrderLineBizQueryResponse.setSyncVersion(forecastOrderLineSDO.getSyncVersion());
        forecastOrderLineBizQueryResponse.setFromSys(forecastOrderLineSDO.getFromSys());
        forecastOrderLineBizQueryResponse.setSourceOrderNo(forecastOrderLineSDO.getSourceOrderNo());
        forecastOrderLineBizQueryResponse.setSourceLineNum(forecastOrderLineSDO.getSourceLineNum());
        return forecastOrderLineBizQueryResponse;
    }
}
